//
//  TopicCommentCell.m
//  lisure0.1
//
//  Created by xalo on 16/4/23.
//  Copyright © 2016年 Mr.wangYongxu. All rights reserved.
//

#import "TopicCommentCell.h"
#import "TopicCommentModel.h"
#import "authOrUsrModel.h"


@implementation TopicCommentCell


-(void)setCellWithModel:(TopicCommentModel *)model{

    [self layoutIfNeeded];
    [[self.iconView layer] setMasksToBounds:YES];
    [[self.iconView layer] setCornerRadius:self.iconView.frame.size.width/2];
    self.unameLable.text = model.userinfoModel.uname;
    self.addtime_fLable.text = model.addtime_f;
    self.cententLable.text = model.content;
    [self.iconView sd_setImageWithURL:[NSURL URLWithString:model.userinfoModel.icon] placeholderImage:nil];
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
